package com.manager.devicemanager.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.manager.devicemanager.entity.Testbatch;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */

@Mapper
public interface TestbatchMapper extends BaseMapper<Testbatch> {



   IPage<Testbatch> selectPage(@Param("page") IPage<Testbatch> page,@Param("batchname") String batchname);


   void updateTestbatchStatus(@Param("testbatch") Testbatch testbatch);

   void updateTestBatchStartTime(@Param("testbatchname") String testbatchname,@Param("starttime") Date starttime);

   void updateTestBatchEndTime(@Param("testbatchname") String testbatchname,@Param("endtime") Date endtime);



}
